﻿
<%@ Page language="c#" Inherits="Microsoft.Crm.Application.Pages.Tools.ViewEditor.SqlViewer" CodeBehind="Microsoft.Crm.Application.Pages.Tools.dll" %>
<%@ Import Namespace="System.Xml" %>
<%@ Import Namespace="System.Xml.Xsl" %>
<html>
<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"/>
<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
<title>SQL Viewer v1.0</title>
</head>

<body class="stage">

	<table width="100%" height="100%" cellspacing="0" cellpadding="2" style="table-layout:fixed;">
		<tr height="35">
			<td style="font-size:16px;font-weight:bold;color:#666666;">
				View Manager: Extra Data SQL 
			</td>
		</tr>
		<tr>
			<td>
				<textarea style="width:100%;height:100%;border:1px solid #666688;">
<%
					XslTransform xsl = new XslTransform();
					xsl.Load(Page.MapPath("/Tools/ViewEditor/sqlViewer/sql.xsl"));
					xsl.Transform(_xml, null, Response.Output);
%></textarea>
			</td>
		</tr>
</table>

</body>
</html>